export function authentication(res) {
  if (res.data.code === 10002) {
    localStorage.removeItem('accessToken')
    window.location.href = res.data.data
  }
}
